package org.bee.enums;

import org.bee.annotation.EnumsDict;

/**
 * 是否删除枚举
 */
@EnumsDict(value = "isDelete", desc = "逻辑删除")
public enum IsDelete implements IEnum{
    TRUE("true", "删除"),

    FALSE("false", "非删除");

    private final String code;
    private final String desc;

    IsDelete(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
